package com.minshenglife.zanzan.entity;

import java.util.Date;

import com.minshenglife.commons.dal.BaseEntity;

/**
 * 规则限制
 * @author Huodd
 * @date 2014.02.14
 */
public class Rule extends BaseEntity{

	private String ruleName;
	/**规则类型（0：送花1：吐槽）*/
	private String ruleType;
	/**约束类型（0：数量限制1：时间范围限制2：时间范围与数量同时限制）*/
	private String limitType;
	private String limitNum;
	private Date ruleStartTime;
	private Date ruleEndTime;
	/**状态（0：有效：1：无效）*/
	private String state;
	private Date create_time;
	private Date update_time;
	public String getRuleName() {
		return ruleName;
	}
	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}
	public String getRuleType() {
		return ruleType;
	}
	public void setRuleType(String ruleType) {
		this.ruleType = ruleType;
	}
	public String getLimitType() {
		return limitType;
	}
	public void setLimitType(String limitType) {
		this.limitType = limitType;
	}
	public String getLimitNum() {
		return limitNum;
	}
	public void setLimitNum(String limitNum) {
		this.limitNum = limitNum;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public Date getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}
	public Date getRuleStartTime() {
		return ruleStartTime;
	}
	public void setRuleStartTime(Date ruleStartTime) {
		this.ruleStartTime = ruleStartTime;
	}
	public Date getRuleEndTime() {
		return ruleEndTime;
	}
	public void setRuleEndTime(Date ruleEndTime) {
		this.ruleEndTime = ruleEndTime;
	}
	
}
